#ifndef PLAYTRK_H
#define PLAYTRK_H
#include "midi.h"
#include "mainwindow.h"
#include <QtCore>
class playtrk : public QObject
{
    Q_OBJECT
public:
   // explicit playtrk(QObject *parent = 0);

    playtrk(HMIDIOUT handle,vector<note> trknotes,int cNote);
    HMIDIOUT handle;
    vector<note> trknotes;
    int cNote;
    bool notEmpty();
private slots:
    void playnote();

};

#endif // PLAYTRK_H
